package com.jml.netty.手写dubbo.produce;


import com.jml.netty.手写dubbo.api.MemberService;
import com.jml.netty.手写dubbo.common.RpcAnnotation;

//调用MemberService的方法
@RpcAnnotation(MemberService.class)
public class MemberServiceImpl implements MemberService {
    @Override
    public String getUser(Long userId) {
        return "jml and jml";
    }

    @Override
    public int delUser(Long userId) {
        return 22;
    }
    //@RpcAnnotation(MemberService.class)
}
